<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ taglib uri="/tag" prefix="tag"%>
<tag:customerLogonCheck/>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>用户个人中心-拍卖记录</title>
<link href="../style/common.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">


</script>

<style type="text/css">
#main{margin: 0 auto;width: 960px;padding-bottom: 20px;margin-top: 5px;background: #ffffff;border: 1px solid #ccc;}
.list_table {margin: 0 auto;margin-top: 20px;}
.list_table td{ text-align: center;font-family: 宋体;font-size: 12px;}
</style>
</head>


<body>

	<%@include file="/commons/head.jsp"%>

 	<%@include file="/user/customer_menu.jsp"%>
 	
 <div id="main">
		<form action="${ctx }/customer/customerAction!queryBidRecord.do" id="searchForm" name="searchForm" method="post">
			<table width="910" border="0" cellpadding="0" cellspacing="1" bgcolor="#0099CC" class="list_table">
		            <tr bgcolor="#CDE1ED">
		               <td height="30">拍品名称</td>
		               <td>编号</td>
		               <td>起拍价(元)</td>
		               <td>出价</td>
		               <td>成交状态</td>
		               <td>成交价(元)</td>
		               <td>竟价次数</td>
		               <td>结束时间</td>
		               <td>订单状态</td>
		            </tr>
		           <c:forEach items="${page.result}" var="result" varStatus="status">
		                 <tr bgcolor="#FFFFFF">
		                   <td height="30">${result.bid.goods.name }</td>
		                   <td>${result.bid.goods.sn }</td>
		                   <td>${result.bid.beginPrice}</td>
		                   <td>${result.bidPrice }</td>
		                   <td>${result.bid.bidStatus }</td>
		                   <td>${result.bid.knockDownPrice }</td>
		                   <td>${result.bid.bidCount }</td>
		                   <td><fmt:formatDate value="${result.bid.endTime}" pattern="yyyy-MM-dd HH:mm"/></td>
		                   <td>${result.bid.order.orderStatus }</td>
		                 </tr>
		           </c:forEach>
		           <tr bgcolor="#FFFFFF">
		       			<td colspan="9" height="35" style="text-align: right;padding-right: 30px;"><jsp:include page="/commons/paging_footer.jsp"/></td>
		    	   </tr>
		  </table>
		</form>
  </div>
	
<%@ include file="/commons/foot.jsp" %>

</body>
</html>